package com.m3958.logcollector.vo;

import java.util.Set;

import com.google.common.collect.Sets;

public class UserState {
    
        private boolean logined;
        
        private PersonInUserState user;
        
        private Set<RoleVo> allRoles = Sets.newHashSet();
        
        public UserState(boolean logined) {
            super();
            this.logined = logined;
        }
        
        public boolean isLogined() {
            return logined;
        }
        public void setLogined(boolean logined) {
            this.logined = logined;
        }
        public PersonInUserState getUser() {
            return user;
        }
        public void setUser(PersonInUserState user) {
            this.user = user;
        }

        public Set<RoleVo> getAllRoles() {
            return allRoles;
        }
        public void setAllRoles(Set<RoleVo> allRoles) {
            this.allRoles = allRoles;
        }
}
